package com.allbluefish.learn.thread;

import com.allbluefish.learn.model.Plate;

public class GetEggThread extends Thread {
	private Plate plate;

	public GetEggThread(Plate plate) {
		this.plate = plate;
	}

	public void run() {
		for (int i = 0; i < 5; i++) {
			this.plate.getEgg();
		}
	}

}
